package com.rf.richfitwheel.admin.sys.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CodeRuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CodeRuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andKindIsNull() {
            addCriterion("kind is null");
            return (Criteria) this;
        }

        public Criteria andKindIsNotNull() {
            addCriterion("kind is not null");
            return (Criteria) this;
        }

        public Criteria andKindEqualTo(String value) {
            addCriterion("kind =", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindNotEqualTo(String value) {
            addCriterion("kind <>", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindGreaterThan(String value) {
            addCriterion("kind >", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindGreaterThanOrEqualTo(String value) {
            addCriterion("kind >=", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindLessThan(String value) {
            addCriterion("kind <", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindLessThanOrEqualTo(String value) {
            addCriterion("kind <=", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindLike(String value) {
            addCriterion("kind like", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindNotLike(String value) {
            addCriterion("kind not like", value, "kind");
            return (Criteria) this;
        }

        public Criteria andKindIn(List<String> values) {
            addCriterion("kind in", values, "kind");
            return (Criteria) this;
        }

        public Criteria andKindNotIn(List<String> values) {
            addCriterion("kind not in", values, "kind");
            return (Criteria) this;
        }

        public Criteria andKindBetween(String value1, String value2) {
            addCriterion("kind between", value1, value2, "kind");
            return (Criteria) this;
        }

        public Criteria andKindNotBetween(String value1, String value2) {
            addCriterion("kind not between", value1, value2, "kind");
            return (Criteria) this;
        }

        public Criteria andRuleIsNull() {
            addCriterion("rule is null");
            return (Criteria) this;
        }

        public Criteria andRuleIsNotNull() {
            addCriterion("rule is not null");
            return (Criteria) this;
        }

        public Criteria andRuleEqualTo(String value) {
            addCriterion("rule =", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleNotEqualTo(String value) {
            addCriterion("rule <>", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleGreaterThan(String value) {
            addCriterion("rule >", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleGreaterThanOrEqualTo(String value) {
            addCriterion("rule >=", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleLessThan(String value) {
            addCriterion("rule <", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleLessThanOrEqualTo(String value) {
            addCriterion("rule <=", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleLike(String value) {
            addCriterion("rule like", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleNotLike(String value) {
            addCriterion("rule not like", value, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleIn(List<String> values) {
            addCriterion("rule in", values, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleNotIn(List<String> values) {
            addCriterion("rule not in", values, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleBetween(String value1, String value2) {
            addCriterion("rule between", value1, value2, "rule");
            return (Criteria) this;
        }

        public Criteria andRuleNotBetween(String value1, String value2) {
            addCriterion("rule not between", value1, value2, "rule");
            return (Criteria) this;
        }

        public Criteria andPositionIsNull() {
            addCriterion("position is null");
            return (Criteria) this;
        }

        public Criteria andPositionIsNotNull() {
            addCriterion("position is not null");
            return (Criteria) this;
        }

        public Criteria andPositionEqualTo(Integer value) {
            addCriterion("position =", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotEqualTo(Integer value) {
            addCriterion("position <>", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThan(Integer value) {
            addCriterion("position >", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThanOrEqualTo(Integer value) {
            addCriterion("position >=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThan(Integer value) {
            addCriterion("position <", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThanOrEqualTo(Integer value) {
            addCriterion("position <=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionIn(List<Integer> values) {
            addCriterion("position in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotIn(List<Integer> values) {
            addCriterion("position not in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionBetween(Integer value1, Integer value2) {
            addCriterion("position between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotBetween(Integer value1, Integer value2) {
            addCriterion("position not between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andSnloopIsNull() {
            addCriterion("snloop is null");
            return (Criteria) this;
        }

        public Criteria andSnloopIsNotNull() {
            addCriterion("snloop is not null");
            return (Criteria) this;
        }

        public Criteria andSnloopEqualTo(String value) {
            addCriterion("snloop =", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopNotEqualTo(String value) {
            addCriterion("snloop <>", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopGreaterThan(String value) {
            addCriterion("snloop >", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopGreaterThanOrEqualTo(String value) {
            addCriterion("snloop >=", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopLessThan(String value) {
            addCriterion("snloop <", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopLessThanOrEqualTo(String value) {
            addCriterion("snloop <=", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopLike(String value) {
            addCriterion("snloop like", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopNotLike(String value) {
            addCriterion("snloop not like", value, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopIn(List<String> values) {
            addCriterion("snloop in", values, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopNotIn(List<String> values) {
            addCriterion("snloop not in", values, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopBetween(String value1, String value2) {
            addCriterion("snloop between", value1, value2, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnloopNotBetween(String value1, String value2) {
            addCriterion("snloop not between", value1, value2, "snloop");
            return (Criteria) this;
        }

        public Criteria andSnsizeIsNull() {
            addCriterion("snsize is null");
            return (Criteria) this;
        }

        public Criteria andSnsizeIsNotNull() {
            addCriterion("snsize is not null");
            return (Criteria) this;
        }

        public Criteria andSnsizeEqualTo(Integer value) {
            addCriterion("snsize =", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeNotEqualTo(Integer value) {
            addCriterion("snsize <>", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeGreaterThan(Integer value) {
            addCriterion("snsize >", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("snsize >=", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeLessThan(Integer value) {
            addCriterion("snsize <", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeLessThanOrEqualTo(Integer value) {
            addCriterion("snsize <=", value, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeIn(List<Integer> values) {
            addCriterion("snsize in", values, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeNotIn(List<Integer> values) {
            addCriterion("snsize not in", values, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeBetween(Integer value1, Integer value2) {
            addCriterion("snsize between", value1, value2, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnsizeNotBetween(Integer value1, Integer value2) {
            addCriterion("snsize not between", value1, value2, "snsize");
            return (Criteria) this;
        }

        public Criteria andSnminIsNull() {
            addCriterion("snmin is null");
            return (Criteria) this;
        }

        public Criteria andSnminIsNotNull() {
            addCriterion("snmin is not null");
            return (Criteria) this;
        }

        public Criteria andSnminEqualTo(Integer value) {
            addCriterion("snmin =", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminNotEqualTo(Integer value) {
            addCriterion("snmin <>", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminGreaterThan(Integer value) {
            addCriterion("snmin >", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminGreaterThanOrEqualTo(Integer value) {
            addCriterion("snmin >=", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminLessThan(Integer value) {
            addCriterion("snmin <", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminLessThanOrEqualTo(Integer value) {
            addCriterion("snmin <=", value, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminIn(List<Integer> values) {
            addCriterion("snmin in", values, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminNotIn(List<Integer> values) {
            addCriterion("snmin not in", values, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminBetween(Integer value1, Integer value2) {
            addCriterion("snmin between", value1, value2, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnminNotBetween(Integer value1, Integer value2) {
            addCriterion("snmin not between", value1, value2, "snmin");
            return (Criteria) this;
        }

        public Criteria andSnmaxIsNull() {
            addCriterion("snmax is null");
            return (Criteria) this;
        }

        public Criteria andSnmaxIsNotNull() {
            addCriterion("snmax is not null");
            return (Criteria) this;
        }

        public Criteria andSnmaxEqualTo(Integer value) {
            addCriterion("snmax =", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxNotEqualTo(Integer value) {
            addCriterion("snmax <>", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxGreaterThan(Integer value) {
            addCriterion("snmax >", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("snmax >=", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxLessThan(Integer value) {
            addCriterion("snmax <", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxLessThanOrEqualTo(Integer value) {
            addCriterion("snmax <=", value, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxIn(List<Integer> values) {
            addCriterion("snmax in", values, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxNotIn(List<Integer> values) {
            addCriterion("snmax not in", values, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxBetween(Integer value1, Integer value2) {
            addCriterion("snmax between", value1, value2, "snmax");
            return (Criteria) this;
        }

        public Criteria andSnmaxNotBetween(Integer value1, Integer value2) {
            addCriterion("snmax not between", value1, value2, "snmax");
            return (Criteria) this;
        }

        public Criteria andNotesIsNull() {
            addCriterion("notes is null");
            return (Criteria) this;
        }

        public Criteria andNotesIsNotNull() {
            addCriterion("notes is not null");
            return (Criteria) this;
        }

        public Criteria andNotesEqualTo(String value) {
            addCriterion("notes =", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesNotEqualTo(String value) {
            addCriterion("notes <>", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesGreaterThan(String value) {
            addCriterion("notes >", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesGreaterThanOrEqualTo(String value) {
            addCriterion("notes >=", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesLessThan(String value) {
            addCriterion("notes <", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesLessThanOrEqualTo(String value) {
            addCriterion("notes <=", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesLike(String value) {
            addCriterion("notes like", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesNotLike(String value) {
            addCriterion("notes not like", value, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesIn(List<String> values) {
            addCriterion("notes in", values, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesNotIn(List<String> values) {
            addCriterion("notes not in", values, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesBetween(String value1, String value2) {
            addCriterion("notes between", value1, value2, "notes");
            return (Criteria) this;
        }

        public Criteria andNotesNotBetween(String value1, String value2) {
            addCriterion("notes not between", value1, value2, "notes");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andSnfixlenIsNull() {
            addCriterion("snfixlen is null");
            return (Criteria) this;
        }

        public Criteria andSnfixlenIsNotNull() {
            addCriterion("snfixlen is not null");
            return (Criteria) this;
        }

        public Criteria andSnfixlenEqualTo(String value) {
            addCriterion("snfixlen =", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenNotEqualTo(String value) {
            addCriterion("snfixlen <>", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenGreaterThan(String value) {
            addCriterion("snfixlen >", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenGreaterThanOrEqualTo(String value) {
            addCriterion("snfixlen >=", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenLessThan(String value) {
            addCriterion("snfixlen <", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenLessThanOrEqualTo(String value) {
            addCriterion("snfixlen <=", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenLike(String value) {
            addCriterion("snfixlen like", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenNotLike(String value) {
            addCriterion("snfixlen not like", value, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenIn(List<String> values) {
            addCriterion("snfixlen in", values, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenNotIn(List<String> values) {
            addCriterion("snfixlen not in", values, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenBetween(String value1, String value2) {
            addCriterion("snfixlen between", value1, value2, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andSnfixlenNotBetween(String value1, String value2) {
            addCriterion("snfixlen not between", value1, value2, "snfixlen");
            return (Criteria) this;
        }

        public Criteria andDivisorIsNull() {
            addCriterion("divisor is null");
            return (Criteria) this;
        }

        public Criteria andDivisorIsNotNull() {
            addCriterion("divisor is not null");
            return (Criteria) this;
        }

        public Criteria andDivisorEqualTo(String value) {
            addCriterion("divisor =", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorNotEqualTo(String value) {
            addCriterion("divisor <>", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorGreaterThan(String value) {
            addCriterion("divisor >", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorGreaterThanOrEqualTo(String value) {
            addCriterion("divisor >=", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorLessThan(String value) {
            addCriterion("divisor <", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorLessThanOrEqualTo(String value) {
            addCriterion("divisor <=", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorLike(String value) {
            addCriterion("divisor like", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorNotLike(String value) {
            addCriterion("divisor not like", value, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorIn(List<String> values) {
            addCriterion("divisor in", values, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorNotIn(List<String> values) {
            addCriterion("divisor not in", values, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorBetween(String value1, String value2) {
            addCriterion("divisor between", value1, value2, "divisor");
            return (Criteria) this;
        }

        public Criteria andDivisorNotBetween(String value1, String value2) {
            addCriterion("divisor not between", value1, value2, "divisor");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}